package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallFeedback;
import com.ctsi.ssdc.domain.LitemallFeedbackExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallFeedbackRepository extends BaseRepository<LitemallFeedback, Integer, LitemallFeedbackExample> {
    @Override
    long countByExample(LitemallFeedbackExample example);

    @Override
    int deleteByExample(LitemallFeedbackExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallFeedback record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallFeedback record);

    @Override
    List<LitemallFeedback> selectByExample(LitemallFeedbackExample example);

    @Override
    LitemallFeedback selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallFeedback record, @Param("example") LitemallFeedbackExample example);

    @Override
    int updateByExample(@Param("record") LitemallFeedback record, @Param("example") LitemallFeedbackExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallFeedback record);

    @Override
    int updateByPrimaryKey(LitemallFeedback record);
}